#ifndef CHANGEORDERDLG_H
#define CHANGEORDERDLG_H

#include <QDialog>
#include<QMap>

namespace Ui {
class ChangeOrderDlg;
}

class ChangeOrderDlg : public QDialog
{
    Q_OBJECT

public:
    explicit ChangeOrderDlg(QWidget *parent = 0);
    ~ChangeOrderDlg();

    bool GetChangeOrderFlg();
    bool GetCancelOrderDoubleClickedFlg();
    bool GetCancelOrderConfirmFlg();

    int GetChangeType(QString key);

    bool JudgeKeyStringFlg(QString key);

public slots:
    void SlotHideCancelOrderButtonToggled(bool b);

    void SlotJudgeChangeKeyString(QString msg);
    void SlotCurrentKeyChanged(QString key);
    void OKButtonClicked();
signals:
    void SigHideCancelOrderButtonToggled(bool b);
    void SigJudgeChangeKeyString(QString);

private:
    QMap<QString,int> m_ChangeInfos;
    Ui::ChangeOrderDlg *ui;
};

#endif // CHANGEORDERDLG_H
